package com.cqjtu.drive.service;

/**
 * @Author zxl
 * @Date 2024/6/6 12:31
 */

import com.cqjtu.drive.pojo.Coach;
import com.cqjtu.drive.pojo.Course;
import com.cqjtu.drive.response.Response;

import java.util.List;

public interface CoachService {

    Response<Coach> getCoachById(String coachId);
    Response<Coach> getCoachByUserId(String userId);
    Response<String> insertCoach(Coach coach);

    Response<String> updateCoach(Coach coach);

    Response<String> deleteCoach(String coachId);

    Response<List<Coach>> getAllCoaches();

    Response<List<Coach>> getCoachesByName(String cName);


}

